﻿using SqlSugar;

namespace Api.Shared.Model.Dto
{
    public class DeviceDto
    {
        public int Id { get; set; }

        //基本信息1-1 设备名称
        public string? DeviceName { get; set; }

        //基本信息1-2 设备数量
        public string? DeviceNum { get; set; }

        //基本信息1-3 设备型号
        public string? DeviceType { get; set; }
        //设备参数2-1 设备基本参数
        public string? DeviceParam { get; set; }
        //设备参数2-2 设备额外参数
        public string? DeviceExtraParam { get; set; }

        //设备图片3-1 设备图片
        public string[]? DevicePhoto { get; set; }

        //设备图片Url
        public string[]? DevicePhotoUrl { get; set; }

        //设备内容4-1 设备内容
        public string? DeviceContent { get; set; }

        [SugarColumn(IsNullable = true)]
        //设备编号
        public string? DeviceNo { get; set; }

        [SugarColumn(IsNullable = true)]
        //设备预警值
        public string? PreAlarm { get; set; }

        [SugarColumn(IsNullable = true)]
        //设备报警值
        public string? Alarm { get; set; }

        [SugarColumn(IsNullable = true)]
        //设备预警值
        public string? PreAlarmBool { get; set; }

        [SugarColumn(IsNullable = true)]
        //设备报警值
        public string? AlarmBool { get; set; }

        [SugarColumn(IsNullable = true)]
        //设备报警值
        public string? Beiyong1 { get; set; }

        [SugarColumn(IsNullable = true)]
        //设备报警值
        public string? Beiyong2 { get; set; }
    }
}
